Lock-step simulation is child's play

نویسندگان

  • Joachim Breitner
  • Chris Smith
چکیده

Implementing multi-player networked games by broadcasting the player’s input and leŠing each client calculate the game state – a scheme known as lock-step simulation – is an established technique. However, ensuring that every client in this scheme obtains a consistent state is infamously hard and in general requires great discipline from the game programmer. Œe thesis of this report is that in the realm of functional programming – in particular with Haskell’s purity and static pointers – this hard problem becomes almost trivially easy. We support this thesis by implementing lock-step simulation under very adverse conditions. We extended the educational programming environment CodeWorld, which is used to teach math and programming to middle school students, with the ability to create and run interactive, networked multi-user games. Despite providing a very abstract and high-level interface, and without requiring any discipline from the programmer, we can provide consistent lock-step simulation with client prediction.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

اوقات فراغت کودکان با کم‌توانی ذهنی

Children's world is the world of freshness, happiness, and amazements and play is the best support for the formation of a child's appropriate physical, mental and emotional support. In fact, every aspect of growth and development is in a complex way, connected with other dimensions. If, in any ways, one aspect of child's growth is ignored, or damaged, he/she will fail in reaching his/her poten...

متن کامل

Constrained Nonlinear Estimation of Road Friction Coefficient and Wheel Slip for Control of Anti-Lock Braking System

In designing the anti-lock braking system (ABS), some states and parameters of vehicle system such as road friction of coefficient and wheel slip should be estimated due to lack of cost effective and reliable sensors for direct measurement. Because of nonlinear characteristics of vehicle dynamics and tire forces, development of a nonlinear estimation algorithm is necessary. However, considerati...

متن کامل

بازتعریف فضای بازی کودکان بر مبنای ارزیابی و تحلیل نیازهای آن ها از فضای بازی با رویکرد ارتقاء خلاقیت

Environments where children will be present is effective in the formation of personality, the child's behavior and his all-round development. The researchers concluded that the experience of recreation and play are effective in preparing children for effort, problem-solving and creative activities. In the current child's environment, spaces that do not give the children a chance to thinking and...

متن کامل

A complete phase-locked loop power consumption model - Design, Automation and Test in Europe Conference and Exhibition, 2002. Proceedings

A PLL power model that accurately estimates the power consumption during both lock and acquisition states is presented. The model is within 5% of circuit level simulation (SPICE) values. No significant power overhead (+/5% of the power consumed at the final frequency) is incurred during the acquisition process. 1. The PLL dynamic behavior The PLL can be described as a 2 order continuous time sy...

متن کامل

Mathematical simulation of a vehicle radiator by genetic algorithm method and comparison with experimental data

In many industrial processes, heat exchangers play the important role of the cooling function. The effective heat transfer rate in a specific process strongly depends on the heat exchanger design. The most popular type of heat exchangers commonly used in the automotive industry, is called "radiator". In engines, radiators play the important role of the cooling process. The present study is de...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1705.09704  شماره 

صفحات  -

تاریخ انتشار 2017